#ifndef __PROFILER_H__
#define __PROFILER_H__

#include "base/Entity.h"
#include "base/Simulator.h"
#include "util/Pool.h"

class Profiler : public Entity {
  public:
    NEW_DELETE_OPERATORS_INLINE_H(Profiler,Entity);
    Profiler () : Entity("Profiler", CLOCK_FIRST) {}
    ~Profiler () {}
    void tick () {
        global_sim->profile();
    }
};

#endif
